package com.link.base.base.user.model;

import com.link.core.basic.model.BasicModel;

import java.util.Date;

/**
 * @author xjt
 * @description: OA登录认证token
 * @date 2024/10/15 14:18
 */
public class OauthToken extends BasicModel {

    /**  认证token  **/
    private String oauthToken;
    /**  认证有效时间  **/
    private Integer tokenOverTime;
    /**  用户id  **/
    private Long userId;
    /**  用户名  **/
    private String userName;
    /**  创建时间  **/
    private Date createTime;


    public String getOauthToken() {
        return oauthToken;
    }

    public void setOauthToken(String oauthToken) {
        this.oauthToken = oauthToken;
    }

    public Integer getTokenOverTime() {
        return tokenOverTime;
    }

    public void setTokenOverTime(Integer tokenOverTime) {
        this.tokenOverTime = tokenOverTime;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
